import argparse
import os
import config

parser = argparse.ArgumentParser()
parser.add_argument('file')

args = parser.parse_args()

f = os.path.abspath(args.file)
print('Type description for %s'%f)
desc = ""
s = raw_input()
while len(s)>0:
	desc += s+'\n'
	s = raw_input()
config.set_keywords(f, desc)
print('Description updated')
